import axios from "axios";

export default {
    httpRequest(method,url,params,data){
        return axios({
            url,
            method,
            baseURL:"http://39.98.178.222:30070",
            params,
            data,
            timeout:10000,
            headers:{
                "content-type":"application/json;charset=utf-8",
            },
        }).then((response) => {
            return response.data; //获取响应结果的数据
            });
        },
   };